package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Buy;
import cn.wolfcode.trip.base.query.BuyQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IBuyService {
    PageInfo<Buy> query(BuyQueryObject qo);

    boolean setStatus(Long id);

    void delete(Long id);

    Buy getAddress(Long id);

    void saveOrUpdate(Buy buy);

    void saveShop(Buy buy);

    Buy get(Long id);

    List<Integer> prices(int status);
}
